tala = input("Tala: ")

strengur = ""

for x in range(len(tala)-1, -1, -1):
	strengur += tala[x]
	
print(strengur)
